import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class test04
{

	public static void main(String[] args)
	{
		//检查字符串是否符合规则pattern
		String str = "abc123&&edf456&&xyz789";
		
		//切割
		String[] strArr = str.split("\\d+");
		System.out.println(Arrays.toString(strArr));
		
		
	}

}
